#define _CRT_SECURE_NO_WARNINGS  1

#include<stdio.h>
#include<assert.h>


char* my_strcpy(char* arr2, char const * arr1)
{
	char* p = arr2;
	assert(arr1 && arr2);
	while (*arr1 != '\0')
	{
		*arr2 = *arr1;
		arr1++;
		arr2++;
	}
	return p;
}

int main()
{
	char arr1[] = "abcdef";
	char arr2[10000] = { 0 };
	printf("%s",my_strcpy(arr2, arr1));
	return 0;
}